package com.diana.common;

public class StatusEnums {

    public static final int tokenTime = 1800;

    public class UserStatus{
        public static final int 冻结 = 0;
        public static final int 正常 = 1;
        public static final int 删除 = 2;
    }

    public class CommonStatus{
        public static final int 不可用 = 0;
        public static final int 可用 = 1;
        public static final int 删除 = 2;
    }

    public class JobStatus{
        public static final int 启用 = 0;
        public static final int 暂停 = 1;
        public static final int 删除 = 2;
    }

    public class CheckTokenStatus{
        public static final int 用户未登录 = 0;
        public static final int 验证通过 = 1;
        public static final int 权限不足 = 2;
        public static final int 权限不存在 = 3;
        public static final int 令牌过期 = 4;
        public static final int 令牌验证有误 = 5;
        public static final int 匿名访问 = 99;
    }

    public class MenuType{
        public static final int 目录 = 0;
        public static final int 菜单 = 1;
        public static final int 按钮 = 2;
    }
}